<?php
/**
 * Created by PhpStorm.
 * User: hcadmin
 * Date: 16/8/18
 * Time: 下午3:53
 */
require_once '../MMysql.php';
class city
{
    public function selectcity(){

        $mysql = new MMysql();
        $res = $mysql
            //->where(array('city_id'=>array('3','>','and')))
            ->select('city');

        echo json_encode($res);
    }
}